showNmae();
console.log(myname);

var myname = "John";
function showNmae() {
    console.log('函数showName被调用');    
}